package org.tc.product.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.tc.product.entity.Stocked;

public interface StockedMapper {
    int deleteByPrimaryKey(Integer id);

    int insertStocked(Stocked record);

    Stocked selectByPrimaryKey(Integer id);

    List<Stocked> selectAll(@Param("firstResult") int firstResult, @Param("pageSize") int pageSize, @Param("storeid") Integer storeid);

    int updateByPrimaryKey(Stocked record);

    int getStockCount(@Param("storeid") Integer storeid);

    int updStockBec(Stocked stocked);

    int updStock(Stocked stocked);
}